package cn.kgc.bbmanager.service.impl;


import cn.kgc.bbmanager.mapper.SortMapper;
import cn.kgc.bbmanager.pojo.Sort;
import cn.kgc.bbmanager.service.SortService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 *
 */
@Service
public class SortServiceImpl implements SortService {
    @Resource
    SortMapper sortMapper;
    @Override
    public List<Sort> selectAll() {
        List<Sort> sortList= sortMapper.selectByExample(null);
        return sortList;
    }
}
